Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(addon-doc): add aria-label for dark mode button #9108

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

splincode
Copy link
Member

@splincode splincode commented Sep 19, 2024

Before

image

After

image

Copy link

lumberjack-bot bot commented Sep 19, 2024

Pull request was closed ✔️

All saved screenshots (for current PR) were deleted 🗑️

@github-actions github-actions bot added the v4 4.0 candidate label Sep 19, 2024
Copy link
Contributor

Visit the preview URL for this PR (updated for commit a3a7231):

https://taiga-previews--pr9108-splincode-demo-1-5pnbby5i.web.app

(expires Fri, 20 Sep 2024 19:45:48 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 20bbff1ad19772ecf9c5134a84c0641b0d776f4a

Copy link

bundlemon bot commented Sep 19, 2024

BundleMon

Files updated (1)
Status Path Size Limits
demo/browser/main.(hash).js
287.35KB (+26B +0.01%) +10%
Unchanged files (4)
Status Path Size Limits
demo/browser/vendor.(hash).js
247.15KB +10%
demo/browser/runtime.(hash).js
42.32KB +10%
demo/browser/styles.(hash).css
16.18KB +10%
demo/browser/polyfills.(hash).js
11.2KB +10%

Total files change +26B 0%

Groups updated (1)
Status Path Size Limits
demo/browser/*..js
7.05MB (+26B 0%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@splincode splincode changed the title chore(demo): add aria-label for dark mode button feat(addon-doc): add aria-label for dark mode button Sep 19, 2024
@@ -11,6 +11,7 @@
<ng-content select="tuiDocHeader" />
<button
appearance="secondary"
aria-label="Switch between dark and light mode"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just write this directly inside the button, that's exactly what we have font-size: 0 in icon buttons

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean about directly?

@splincode splincode merged commit 58bfb70 into main Sep 23, 2024
32 checks passed
@splincode splincode deleted the splincode/demo-1 branch September 23, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants